package com.baiduspring.dubbo.service.mybatis.mapper;

import com.baiduspring.domain.Article;

import java.util.List;

public interface ArticleMapper {
    int deleteByPrimaryKey(String id);

    int insert(Article record);

    int insertSelective(Article record);

    Article selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Article record);

    int updateByPrimaryKeyWithBLOBs(Article record);

    int updateByPrimaryKey(Article record);

    Integer updateReadCount(Article article);

    Long count();


    List<Article> selectArticlesAndPagging(Article article);

    Article selectArticleInfo(Article article);

    List<Article> selectArticlesByMid(Article article);

    Integer countArticlesByMid(Article article);

}
